home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12466 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.mindspring.com!usenet
  2. From: spaceldy@atl.mindspring.com (Felicite A. Reedick)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Need help with malcfuntioning dialog
  5. Date: Wed, 20 Mar 1996 00:20:36 GMT
  6. Organization: MindSpring Enterprises, Inc.
  7. Message-ID: <4io006$80s@B1FF.mindspring.com>
  8. References: <314F22BE.A2C@unet.univie.ac.at>
  9. Reply-To: spaceldy@atl.mindspring.com
  10. NNTP-Posting-Host: user-168-121-94-189.dialup.mindspring.com
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. Benjamin Bockisch <a9301108@unet.univie.ac.at> wrote:
  14.  
  15. >Using ObjectWindows 2.0, I have written a program that uses several Dialogs. The program 
  16. >works just fine when run from the Borland C++ 4.0 IDE, if, however, the IDE is not running I 
  17. >get the following error: 
  18.  
  19. >"ObjectWindows Exception: Execute fail for window".
  20.  
  21.     I use Borland 4.53 at work, and had a problem similar to what you are
  22. experiencing.  You probably do not have the BWCC library loaded.  In
  23. the SetupWindow of your TApp, add the line :
  24.     LoadBWCC(true);  //I'm pretty sure that's the syntax.
  25.  
  26.     The reason you program would run from the IDE was because the IDE
  27. itself already had the BWCC library loaded.  When the IDE wasn't
  28. running, your program didn't have access to the ObjectWindows routines
  29. needed to create a window which caused the execption error.
  30.  
  31.     I learned this wonderful piece of info from a book called "Tips,
  32. Tricks and Traps for Borland 4.x".  Very useful book.
  33.  
  34.  
  35.